
import request from '../../utils/request.js'


export const getEventTypeList = () => request({ url: '/schedule/eventType/getList' })

export const saveOrUpdateEventType = (data) => request({ url: '/schedule/eventType/saveOrUpdate', data })

export const deleteEventType = (data) => request({ url: '/schedule/eventType/delete', data })

export const saveOrUpdateEventTypeChild = (data) => request({ url: '/schedule/eventTypeChild/saveOrUpdate', data })

export const deleteEventTypeChild = (data) => request({ url: '/schedule/eventTypeChild/delete', data })